<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>v-pre</title>
		<script src="./js/vue.js"></script>
	</head>
	<body>
		<!--
		v-pre指令：添加此指令的标签不会被Vue进行代理,里面的值会保留原样,可提高解析性能
		-->
		<div id="root">
			<h2 v-pre>嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻</h2>
			<h2 v-pre>当前的n值是:{{n}}</h2>
			<button v-pre @click="n++">点我n+1</button>
		</div>
		<script>
			Vue.config.productionTip = false;
			const vm = new Vue({
				el:'#root',
				data:{
					n:1
				}
			});
		</script>
	</body>
</html>